@import '~antd/lib/style/themes/default.less';
@layout-header-height: 64px;
.flex {display: flex;}
.flex-column {flex-direction: column;}
.flex-1 {flex: 1;}
#Basic-Layout {
  min-height: 100vh;

  .trigger {
    padding: 0 24px;
    font-size: 18px;
    line-height: 64px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .trigger:hover {
    color: #1890ff;
  }

  .site-layout-background {
    background: #fff;
  }

  .header {
    line-height: 64px;
    height: 64px;
    padding: 0;
    background: #fff;
    -webkit-box-shadow: 0 1px 4px rgb(0 21 41 / 8%);
    box-shadow: 0 1px 4px rgb(0 21 41 / 8%);
    //position: fixed;
    z-index: 9;
    right: 0px;
  }
  

  .logo {
    position: relative;
    display: flex;
    align-items: center;
	//justify-content: center;
    line-height: 32px;
	//background: #002140;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: all 0.3s;

    a {
      display: flex;
      align-items: center;
      //justify-content: center;
      min-height: 32px;
    }

    h1 {
      margin: 0 0 0 12px;
      overflow: hidden;
      color: #fff;
      font-weight: 600;
      font-size: 20px;
      line-height: 32px;
      -webkit-animation: fade-in;
      animation: fade-in;
      -webkit-animation-duration: .2s;
      animation-duration: .2s;
      white-space: nowrap;
    }

    img {
      display: inline-block;
      height: 32px;
      vertical-align: middle;
    }
  }
  //.ant-layout-sider-light .logo{background: #002140;}
  .ant-layout-sider-dark .logo{background: #002140;}
  
  .leftmenu {
  	position: relative;
  	.ant-menu-item {
  		height: auto;
  		text-align: center;
  		line-height: 20px;
  		margin-top: 0px;
  		padding: 5px 16px !important;
  	}
  }
}

.basic-layout-breadcrumb {
  background: #fff;
  padding: 10px;
  margin-top: 64px;
  padding-left: 20px;
}
.ant-pro-global-header-index-right {
  margin-right: 8px;

  &.ant-pro-global-header-index-dark {
    .ant-pro-global-header-index-action {
      color: hsla(0, 0%, 100%, .85);

      &:hover {
        background: #1890ff;
      }
    }
  }

  .ant-pro-account-avatar {
    .antd-pro-global-header-index-avatar {
      margin: ~'calc((@{layout-header-height} - 24px) / 2)' 0;
      margin-right: 8px;
      color: @primary-color;
      vertical-align: top;
      background: rgba(255, 255, 255, 0.85);
    }
  }

  .menu {
    .anticon {
      margin-right: 8px;
    }

    .ant-dropdown-menu-item {
      min-width: 100px;
    }
  }
}

#right-content {
  float: right;
  cursor: pointer;
  li {
    display: inline-block;
    margin: 0 12px;
    font-size: 16px;
  }
}

.layout-content {
  margin: 20px;
  minHeight: 280px;
}

#basic-layout-side {
  min-height: 100vh;
  //position: fixed;
  top: 0;
  left: 0;
  box-shadow: 2px 0 8px 0 rgb(29 35 41 / 5%);
  z-index: 10;
}

.theme-light-title {
  color: @primary-color !important;
}
.theme-dark-title {
  color: #333 !important;
}






